﻿using System;
using System.Collections.Generic;
using UnityEngine;
[Serializable]
public class TransformAttribute : Attribute
{
    private Vector3 _position;
    private float _rotation;
    public Vector3 Position {
        get {
            return _position;
        }
        set {
            _position = value;
            Attribute.OnValueChange(this.Actor,EnumAttributeItem.Transform_Position,this);
        }
    }
    public float Rotation
    {
        get {
            return _rotation;
        }
        set { 
            _rotation = value;
            Attribute.OnValueChange(this.Actor,EnumAttributeItem.Transform_Rotation,this);
        }
    }
}